<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="java.util.*"%>
<%@page
	import="hk.edu.cityu.is.riskmgmt.scheduler.*,hk.edu.cityu.is.riskmgmt.data.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%
	new Thread() {
		public void run() {

			SharedData sd = new SharedData();
			SimulationScheduler ss = new SimulationScheduler(sd);
			ss.start();

		}

	}.start();
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
	function fresh() {
		document.getElementById('frame0').src = 'CDSChart.jsp';
		document.getElementById('frame1').src = 'StockPriceChart.jsp';

		setTimeout("fresh()", 1000);
	}
	setTimeout("fresh()", 1000);
//-->
</SCRIPT>
</head>
<body>
<iframe id="frame0" src="CDSChart.jsp" width="500" height="300"></iframe>
<iframe id="frame1" src="StockPriceChart.jsp" width="500" height="300"></iframe>

</body>
</html>